#玩家互传剩余有效时间计时.
for i in range(1, 100):
    exec("global tp_%d, tp_%d_time, tp_%d_time_use" % (i, i, i))
    if eval("tp_"+str(i)+"_time") > 0:
        exec("global tp_"+str(i)+"_time"+"\ntp_"+str(i)+"_time -= 1")
    if eval("tp_"+str(i)+"_time") <= 0 and eval("tp_"+str(i)+"_time_use") == True:
        sendcmd("""/tellraw """+eval("tp_"+str(i))+""" {"rawtext":[{"text":"<§l§6Ritle§aBlock§r> §c你发起的玩家互传时间已到，如需继续，请重新发起"}]}""")
        exec("global tp_"+str(i)+"\ntp_"+str(i)+" = '当前位无人'")
        exec("global tp_"+str(i)+"_time_use"+"\ntp_"+str(i)+"_time_use = False")
